package entities;

import java.io.Serializable;

public class ReviewDecisionStage implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Long ticketId;
	private String durationDate;         // the duration time of up to 7 days is being calculated to a date
	private String decision;             // the decision accepted by the committee
	private String completeDate;         // date in which the review stage has completed
	
	public ReviewDecisionStage() {
		
	}

	/**
	 * Returns the ticket's serial number
	 * @return
	 */
	public Long getTicketId() {
		return ticketId;
	}

	/**
	 * Set the ticket's serial number
	 * @param ticketId
	 */
	public void setTicketId(Long ticketId) {
		this.ticketId = ticketId;
	}

	/**
	 * Returns the review stage duration date
	 * @return
	 */
	public String getDurationDate() {
		return durationDate;
	}

	/**
	 * Set the review stage duration date
	 * @param durationDate
	 */
	public void setDurationDate(String durationDate) {
		if(durationDate == null)
			this.durationDate = "";
		else
			this.durationDate = durationDate;
	}

	/**
	 * Returns the decision accepted by the committee 
	 * @return
	 */
	public String getDecision() {
		return decision;
	}

	/**
	 * Set the decision accepted by the committee
	 * @param decision
	 */
	public void setDecision(String decision) {
		if(decision == null)
			this.decision = "";
		else
			this.decision = decision;
	}

	/**
	 * Returns the date in which the review stage has completed
	 * @return
	 */
	public String getCompleteDate() {
		return completeDate;
	}

	/**
	 * Set the date in which the review stage has completed
	 * @param completeDate
	 */
	public void setCompleteDate(String completeDate) {
		if(completeDate == null)
			this.completeDate = "";
		else 
			this.completeDate = completeDate;
	}

}
